<%@page import="net.lunjin.bean.LookWant"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@page import="net.lunjin.util.Constants"%>
<%@page import="net.lunjin.bean.Organizations"%>
<%@page import="net.lunjin.bean.LookWant"%>
<%@page import="finaler.util.PageList"%>
<%@page import="finaler.util.PageUtil"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Map"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>如何选择黄金交易平台,哪个黄金交易平台比较好?</title>
<meta name="keywords" content="<%=Constants.METAKEYWORDS %>">
<meta name="description" content="<%=Constants.METADESCRIPTION %>">
<jsp:include page="/commonImport.jsp"/>
</head>
<%
LookWant lookWant = (LookWant) request.getAttribute("lookWant");
Organizations company = (Organizations) request.getAttribute("company");
PageList wantList = (PageList) request.getAttribute("wantList");
%>

<style>
	<!--
	body {
	    font-family: Arial, Helvetica, sans-serif;
	    font-size:12px;
	    color:#666666;
	    background:#fff;
	    text-align:center;
	}	 
	* {
	    margin:0;
	    padding:0;
	}	 
	a {
	    color:#1E7ACE;
	    text-decoration:none;    
	}	 
	a:hover {
	    color:#000;
	    text-decoration:underline;
	}
	h3 {
	    font-size:14px;
	    font-weight:bold;
	}	 
	pre,p {
	    color:#1E7ACE;
	    margin:4px;
	}
	input, select,textarea {
	    padding:1px;
	    margin:2px;
	    font-size:11px;
	}
	.buttom{
	    padding:1px 10px;
	    font-size:12px;
	    border:1px #1E7ACE solid;
	    background:#D0F0FF;
	}
	#formwrapper {
	    width:860px;
	    margin:15px auto;
	    padding:20px;
	    text-align:left;
	    border:1px #1E7ACE solid;
	}	 
	fieldset {
	    padding:10px;
	    margin-top:5px;
	    border:1px solid #1E7ACE;
	    background:#fff;
	}	 
	fieldset legend {
	    color:#1E7ACE;
	    font-weight:bold;
	    padding:3px 20px 3px 20px;
	    border:1px solid #1E7ACE;    
	    background:#fff;
	}	 
	fieldset label {
	    float:left;
	    width:120px;
	    text-align:right;
	    padding:4px;
	    margin:1px;
	}	 
	fieldset div {
	    clear:left;
	    margin-bottom:2px;
	}
	.enter{ text-align:center;}
	.clear {
	    clear:both;
	}	
	.con {
	    padding:3px 20px 3px 77px;
	}
	-->
</style>
<body class="articleview">

<jsp:include page="/top.jsp"/>

<div class="channel-nav w960 center clear mt1">
	<div id="formwrapper">
	    <h3>以下是所有准备报名<%=company==null?"合适自己的交易平台":"<font color='red'>"+company.getOrgname()+"</font>"%>的网友，为保护隐私和不被骚扰，联系方式大部分已用星*号代替:</h3>
	    <fieldset>
	        <legend>报名人员</legend>
			<table width="100%">
			<tr align="center">
				<Td width="10%">&nbsp;</Td>
				<Td width="25%"><b>联系方式</b></Td>
				<Td width="25%"><b>报名时间</b></Td>
				<Td width="40%"><b>报名选择的交易平台</b></Td>
			</tr>
				<tr>
					<Td colspan="4" ><hr/></Td>
				</tr>
	        <%List wantLst = wantList.getList();
			  	for(int i=0;i<wantLst.size();i++){
			  	Map<String,Object> want  = (Map<String,Object>)wantLst.get(i);
			  	%>
				<tr align="center">
					<Td ><img src="<%=Constants.URL %>/images/people.gif"/></Td>
					<Td >联系我:<%=lookWant==null?want.get("telipqq").toString().replaceAll("\\.", "").substring(0,2)+"********":want.get("telipqq") %></Td>
					<Td ><%=want.get("createtime") %></Td>
					<Td ><a href="<%=Constants.URL %>/company/<%=want.get("orgid") %>.html" target="_blank"><%=want.get("orgname") %>(简称:<%=want.get("orgshortname") %>)</a></Td>
				</tr>
				<tr>
					<Td colspan="4" class="hrstyle">&nbsp;</Td>
				</tr>
			<%} %>
			<%if(wantLst.size()==0){%>
				<tr>
					<Td colspan="4" >暂无报名!</Td>
				</tr>
			<%}else{%>
				<tr>
					<Td colspan="4" align="right">
						<%=PageUtil.getCurrPage(wantList)%>
						<%=PageUtil.getRecord(wantList)%>
						<%=PageUtil.getSinglePaginator(wantList,false)%>
					</Td>
				</tr>
			<%}%>
			</table>
	    </fieldset>
	    <%if(company!=null&&wantLst.size()>0){ %>
			<%if(lookWant==null){ %>
				<form action="" method="post" name="apForm" id="apForm">
					<input type="hidden" id="companyId" name="companyId" value="<%=company.getId()%>"/>
					<h3>输入密码查看详细联系方式:<input type="password" id="password" name="password"/><input type="submit" value="查看"/>
				&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=Constants.URL%>/us/contact.html" target="_blank"><font color="green">获取密码</font></a></h3>
				</form>
			<%}else{%>
				<h3>你允许查看所有联系方式!</h3>
			<%}%>
		<%}%>
	</div>
</div>

<jsp:include page="/foot.jsp"/> 

</body>
</html>